package cn.gemiman.daoyi.module.iot.controller.admin.userequipmentplace.vo;

import cn.gemiman.daoyi.module.member.api.user.dto.MemberUserRespDTO;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Schema(description = "管理后台 - 会员设备场所 Response VO")
@Data
@ExcelIgnoreUnannotated
public class UserEquipmentPlaceRespVO {

    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "15952")
    @ExcelProperty("编号")
    private Long id;

    @Schema(description = "场所名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "王五")
    @ExcelProperty("场所名称")
    private String equipmentPlaceName;

    @Schema(description = "会员编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "11885")
    @ExcelProperty("会员编号")
    private Long memberUserId;
    @Schema(description = "会员信息", requiredMode = Schema.RequiredMode.REQUIRED)
    private MemberUserRespDTO memberUser;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}
